export  type loginReqType ={
    account:string,
    password:string,
    dynamicCode:string
}

export type loginResType={
    token:string
}

export type info ={
    userId: number;
    username: string;
    account: string;
    phone: string;
    userRole: number[] | null;
    permissions: string[] | null
}

export type useState ={
    token: string;
    info: info,
    publicKey:string
}

export type userPasswordType = {
    oldPassword: string;
    newPassword: string;
    verifyPassword: string;
};

export type userPasswordReqType = {
    oldPassword: string;
    newPassword: string;
};